package com.platform.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 能量值发放记录表实体
 * 表名 account_snapshot_energy
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-05-28 15:18:07
 */
public class AccountSnapshotEnergyEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Integer id;
    //能量值总量
    private BigDecimal total;
    //能量值记录总量
    private BigDecimal totalDetail;
    //运动兑换能量
    private BigDecimal exTotal;
    //购买能量值总量
    private BigDecimal buyTotal;
    //任务能量值
    private BigDecimal extractTotal;
    //运动挖矿能量值总量
    private BigDecimal taskTotal;
    //释放SPC
    private BigDecimal releaseSpc;
    //持有spc
    private BigDecimal holdSpc;
    //统计日期
    private String date;
    //添加时间
    private Date addTime;
    //闪兑
    private BigDecimal exchangeSpc;
    //游戏消耗
    private BigDecimal lotteryPrice;
    //游戏奖励
    private BigDecimal lotterySpend;
    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：能量值总量
     */
    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    /**
     * 获取：能量值总量
     */
    public BigDecimal getTotal() {
        return total==null?new BigDecimal(0) : total;
    }
    /**
     * 设置：能量值记录总量
     */
    public void setTotalDetail(BigDecimal totalDetail) {
        this.totalDetail = totalDetail;
    }

    /**
     * 获取：能量值记录总量
     */
    public BigDecimal getTotalDetail() {
        return totalDetail == null ? new BigDecimal(0) : totalDetail ;
    }
    /**
     * 设置：运动兑换能量
     */
    public void setExTotal(BigDecimal exTotal) {
        this.exTotal = exTotal;
    }

    /**
     * 获取：运动兑换能量
     */
    public BigDecimal getExTotal() {
        return exTotal==null?new BigDecimal(0):exTotal;
    }
    /**
     * 设置：购买能量值总量
     */
    public void setBuyTotal(BigDecimal buyTotal) {
        this.buyTotal = buyTotal;
    }

    /**
     * 获取：购买能量值总量
     */
    public BigDecimal getBuyTotal() {
        return buyTotal==null?new BigDecimal(0) : buyTotal;
    }
    /**
     * 设置：任务能量值
     */
    public void setExtractTotal(BigDecimal extractTotal) {
        this.extractTotal = extractTotal;
    }

    /**
     * 获取：任务能量值
     */
    public BigDecimal getExtractTotal() {
        return extractTotal==null?new BigDecimal(0):extractTotal;
    }
    /**
     * 设置：运动挖矿能量值总量
     */
    public void setTaskTotal(BigDecimal taskTotal) {
        this.taskTotal = taskTotal;
    }

    /**
     * 获取：运动挖矿能量值总量
     */
    public BigDecimal getTaskTotal() {
        return taskTotal==null?new BigDecimal(0) : taskTotal;
    }

    /**
     * 设置：统计日期
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * 获取：统计日期
     */
    public String getDate() {
        return date;
    }
    /**
     * 设置：添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取：添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    public BigDecimal getExchangeSpc() {
        return exchangeSpc == null?new BigDecimal(0) : exchangeSpc;
    }

    public void setExchangeSpc(BigDecimal exchangeSpc) {
        this.exchangeSpc = exchangeSpc;
    }

    public BigDecimal getReleaseSpc() {
        return releaseSpc==null?new BigDecimal(0) : releaseSpc;
    }

    public void setReleaseSpc(BigDecimal releaseSpc) {
        this.releaseSpc = releaseSpc;
    }

    public BigDecimal getHoldSpc() {
        return holdSpc==null?new BigDecimal(0) : holdSpc;
    }

    public void setHoldSpc(BigDecimal holdSpc) {
        this.holdSpc = holdSpc;
    }

    public BigDecimal getLotteryPrice() {
        return lotteryPrice==null?new BigDecimal(0) : lotteryPrice;
    }

    public void setLotteryPrice(BigDecimal lotteryPrice) {
        this.lotteryPrice = lotteryPrice;
    }

    public BigDecimal getLotterySpend() {
        return lotterySpend == null ? new BigDecimal(0):lotterySpend;
    }

    public void setLotterySpend(BigDecimal lotterySpend) {
        this.lotterySpend = lotterySpend;
    }
}
